package com.groupfour.attendancemanagementsystem.service;
/**
 * @version: V1.0
 * @author: 章珑赢
 * @className: PersonaRatingService
 * @packageName: controller
 * @description: 个人评分service接口
 * @data: 2022/4/23
 */
import com.groupfour.attendancemanagementsystem.entity.VO.HomeWorkDetailsVO;
import com.groupfour.attendancemanagementsystem.entity.VO.PersonaRatingVO;
import com.groupfour.attendancemanagementsystem.entity.VO.PersonalDetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PersonaRatingService {
    /**
     * @version: V1.0
     * @author: 章珑赢
     * @methodsName: SelectAllPersonaRating
     * @description: 查询所有个人评分
     * @param:  无
     * @return: Object
     * @throws: 无
     **/
     List <PersonaRatingVO>  SelectAllPersonaRating(Integer pageNum,Integer pageSize,String userCode);
    /**
     * @version: V1.0
     * @author: 章珑赢
     * @methodsName: SelectByProjectNameOrGroupName
     * @description: 根据项目名称或小组名称查询所有小组评分
     * @param:  projectName(项目名称)，groupName(小组评分)
     * @return: Object
     * @throws: 无
     **/

    List<PersonaRatingVO> SelectByProjectNameOrGroupName(String projectName, String groupName,Integer pageNum,Integer pageSize,String userCode);
    /**
     * @version: V1.0
     * @author: 章珑赢
     * @methodsName: SelectPersonalDetails
     * @description: 查询个人详情信息
     * @param:studentCode（学生学号）
     * @return: Object
     * @throws: 无
     **/
    PersonalDetailVO SelectPersonalDetails(String studentCode,String groupCode);
    /**
     * @version: V1.0
     * @author: 章珑赢
     * @methodsName: SelectPersonalDetails
     * @description: 作业详情
     * @param:studentCode（学生学号）
     * @return: HomeWorkDerailVO实体类
     * @throws: 无
     **/
    List<HomeWorkDetailsVO> SelectHomeWorks(String studentCode,Integer pageNum,Integer pageSize,String groupCode);
    /**
     * @version: V1.0
     * @author: 章珑赢
     * @methodsName: DoPersonalGradeAndComment
     * @description: 进行小组打分和评论
     * @param:  studentCode（学生学号），oneselfSyntnesisScore（个人综合分数），oneselfComment（个人评论）
     * @return: boolean
     * @throws: 无
     **/
    boolean DoPersonalGradeAndComment( Integer oneselfSyntnesisScore,String oneselfComment,String studentCode);
}
